﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Dto
{
    public class BaseStatus
    {
        public int Code { get; set; }
        public string Msg { get; set; }

        public object Data { get; set; }

        public int Count { get; set; }




        public static BaseStatus CreateInstance(int code=200,string msg ="请求成功",object data=null,int count=0)
        {
            return new BaseStatus() { 
                Code=code,
                Count=count,
                Data=data,
                Msg=msg
            };
        }


    }
}
